
export default function (Vue) {

    Vue.prototype.logsRequest = {};
    var logsRequest = Vue.prototype.logsRequest;

    // 获取管理员登陆日志
    logsRequest.getAdminLoginLogs = function (current_node, paramData, callBack, headers) {
        Vue.prototype.baseHttpClient.execute(current_node, '/system/admin/login/logs', 'GET', paramData, callBack, headers);
    };

    // 获取管理员操作日志
    logsRequest.getAdminActionLogs = function (current_node, paramData, callBack, headers) {
        Vue.prototype.baseHttpClient.execute(current_node, '/system/admin/action/logs', 'GET', paramData, callBack, headers);
    };

    // 获取慢接口记录
    logsRequest.getSlowInterfaces = function (current_node, paramData, callBack, headers) {
        Vue.prototype.baseHttpClient.execute(current_node, '/system/slow/interfaces', 'GET', paramData, callBack, headers);
    };
}